package com.monitor.app_monitor.config;


import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@Slf4j
@Configuration
public class GeneralConfiguration {

    @Bean
    public Map<String,String> getRgInfo () {
        Map<String,String> codeconurr = new ConcurrentHashMap<>();
        codeconurr.put("116","辽宁");
        codeconurr.put("126","四川");
        codeconurr.put("130","江苏");
        codeconurr.put("107","安徽");
        codeconurr.put("102","上海");
        codeconurr.put("118","新疆");
        codeconurr.put("113","天津");
        codeconurr.put("101","北京");
        codeconurr.put("104","重庆");
        codeconurr.put("111","海南");
        codeconurr.put("123","西藏");
        codeconurr.put("131","贵州");
        codeconurr.put("120","云南");
        codeconurr.put("109","甘肃");
        codeconurr.put("112","江西");
        codeconurr.put("129","陕西");
        codeconurr.put("114","吉林");
        codeconurr.put("121","浙江");
        codeconurr.put("110","广西");
        codeconurr.put("108","福建");
        codeconurr.put("103","广东");
        codeconurr.put("125","河南");
        codeconurr.put("119","宁夏");
        codeconurr.put("127","河北");
        codeconurr.put("115","黑龙江");
        codeconurr.put("106","青海");
        codeconurr.put("124","内蒙");
        codeconurr.put("117","湖北");
        codeconurr.put("122","山东");
        codeconurr.put("105","湖南");
        codeconurr.put("128","山西");

        return codeconurr;
    }

}
